﻿using DAL.DataAccessObject;
using DAL.DataTransferObject;
using System;
using System.Collections.Generic;
using System.Text;

namespace BAL
{
    public class GiamGiaHHBAO
    {
        public static GiamGiaHHDAO gghhDAO = new GiamGiaHHDAO();
        public void GiamGiaHH_AddNew(GiamGiaHH gghh)
        {
            gghhDAO.GiamGiaHH_AddNew(gghh);
        }
        public void GiamGiaHH_Update(GiamGiaHH gghh)
        {
            gghhDAO.GiamGiaHH_Update(gghh);
        }
        public void GiamGiaHH_Delete(GiamGiaHH gghh)
        {
            gghhDAO.GiamGiaHH_Delete(gghh);
        }
        public List<GiamGiaHH> GiamGiaHH_GetData()
        {
            return gghhDAO.GiamGiaHH_GetData();
        }
        public List<GiamGiaHH> GiamGiaHH_SearchByGoods(string a)
        {
            return gghhDAO.GiamGiaHH_SerachByGoods(a);
        }

    }
}
